package cn.openea.perpartner.rule.web.service;

import cn.openea.perpartner.rule.web.entity.SysRule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * (SysRuleList)表服务接口
 *
 * @author Weird077
 * @since 2022-09-26 17:00:16
 */
public interface ISysRuleService extends IService<SysRule> {

    List<SysRule> selectList(String searchStr);

    boolean saveAndCompile(SysRule sysRule);

    String preview(String ruleNum) throws ClassNotFoundException;

    boolean checkRuleUnique(String ruleNum);

    void loadRuleList();
}

